<?php


namespace App\Http\Validator;
use Swoft\Validator\Annotation\Mapping\IsString;
use Swoft\Validator\Annotation\Mapping\Length;
use Swoft\Validator\Annotation\Mapping\NotEmpty;
use Swoft\Validator\Annotation\Mapping\Validator;

/**
 * Class TraceValidator
 * @package App\Http\Validator
 * @Validator(name="TraceValidator")
 */
class TraceValidator
{

    /**
     * @IsString(message="唯一凭证非法")
     * @Length(min=32, max=33, message="唯一凭证非法")
     * @var string trace_id
     */
    protected $traceID;

}
